package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 积分交易明细业务对象 point_transactions
 *
 * @author ruoyi
 * @date 2025-07-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PointTransactionsBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String transactionId;

    /**
     * 关联用户ID
     */
    @NotBlank(message = "关联用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 关联规则ID
     */
    @NotBlank(message = "关联规则ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ruleId;

    /**
     * 关联资源ID
     */
    @NotBlank(message = "关联资源ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String datasetId;

    /**
     * 变动积分值
     */
    @NotNull(message = "变动积分值不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long points;

    /**
     * 增减类型
     */
    @NotBlank(message = "增减类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String transactionType;

    /**
     * 备注说明
     */
    @NotBlank(message = "备注说明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remarks;

    private String datasetName;

    private String createUserName;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;

    private Long createUserId;

    private String  imageUrl;

    private String createBy;

    private Long categoryId;
}
